<?php

namespace App\Admin\Actions\Keyword;

use Encore\Admin\Actions\RowAction;
use Illuminate\Database\Eloquent\Model;

class ShowDerivatives extends RowAction
{
    public $name = '展示衍生词';

    public function href()
    {
        return route(config('admin.route.prefix') . '.derivative-keywords.index') . '?keyword_id=' . $this->getKey();
    }
}
